package com.dhu.auth.domain.convert;

import com.dhu.auth.domain.entity.AuthUserDO;
import com.dhu.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


/**
 * @Author gongjiawei
 * @Date 2024/6/5 21:29
 * @注释
 */
@Mapper
public interface AuthUserDOConverter {
    AuthUserDOConverter INSTANCE= Mappers.getMapper(AuthUserDOConverter.class);
    AuthUser convertDOToUser(AuthUserDO authUserDO);
    AuthUserDO convertEntityToBO(AuthUser authUser);

}
